package com.igroupes.ovineherd.model.Style;

import com.igroupes.ovineherd.model.enums.FormKey;

public class PasswordStyle extends InputStyle {

    public PasswordStyle(String label, Object value, Boolean required) {
        super(label, value,required);
        this.type = FormKey.PASSEORD.getCode();
        this.maxLength = 10;
    }
    private PasswordStyle(String label, Object value, Boolean required, Integer maxLength) {
        this(label, value,required);
        this.maxLength = maxLength;
    }

    //    public static void main(String[] args) {
//        System.out.println(new JSONObject(new PasswordStyle("xiao","wode" , 10), false));
//    }
}
